import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextInt()) { // 注意 while 处理多个 case
            int len = in.nextInt();
            in.nextLine();
            int[] nums = new int[len];
            int sum = 0;
            for (int i = 0; i < len; i++) {
                nums[i] = in.nextInt();
                sum += nums[i];
            }
            if (sum % 2 != 0) {
                System.out.println("false");
                return;
            }
            int target = sum / 2;
            int[][] dp = new int[len+1][target+1];
            for (int i = 1; i <= len; i++) {
                for (int j = 0; j <= target; j++) {
                    dp[i][j] = dp[i-1][j];
                    if (j >= nums[i-1]) {
                        dp[i][j] = Math.max(dp[i][j], dp[i-1][j-nums[i-1]] + nums[i-1]);
                    }
                }
            }
            System.out.println(dp[len][target] == target ? "true" : "false");
        }
    }
}
